﻿#ifndef POSTCOMMAND_CMDSETHEATMAPRENAMEFINISHED_H
#define POSTCOMMAND_CMDSETHEATMAPRENAMEFINISHED_H

#include "CommandManager/CommandBase.h"

namespace PostCommand
{
    /// @brief 后处理保存图像命令
    class CmdSetHeatMapRenameFinished : public CommandManager::CommandBase
    {
        Q_OBJECT

    public:
        CmdSetHeatMapRenameFinished();
        ~CmdSetHeatMapRenameFinished();

        bool execute() override;
        void undo() override;
        void redo() override;

        void setHeatMapRenameFinished(int windowId, QString name);

    private:
        int m_windowId;
		QString m_name;
    };
} // namespace PostCommand

#endif
